home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Frameworks / Dragonsmith 1.1.1 / Base files / Utilities / StringUtils.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-18  |  492 b   |  18 lines  |  [TEXT/KAHL]

  1. /*
  2.     StringUtils.h
  3. */
  4.  
  5. #pragma once
  6.  
  7. typedef struct {
  8.     short        numStrings;
  9.     unsigned char    strings[];
  10. } **StringResHndl;
  11.  
  12. StringPtr GetNumberedPascalString (ResType resType, short resID, short stringIndex);
  13.  
  14. Boolean PStrToULong (Str255 str, long *num);
  15. void SmartCopyPStr (register unsigned char *p1, register unsigned char *p2);
  16. void CopyPStr (unsigned char *p1, unsigned char *p2);
  17. void AppendPStr (unsigned char *p1, unsigned char *p2);
  18. short ComparePStrings (StringPtr str1, StringPtr str2);